#include "Plansza.h"


Plansza::Plansza(void)
{
	background.setSize(sf::Vector2f(520,520));
	background.setFillColor(sf::Color::Black);
	background.setPosition(40,40);

	mPlayer.inicializePlanszaColision(&background);
}


void Plansza::update(sf::Time elapsedTime)
{
	mPlayer.update(elapsedTime);
}

void Plansza::draw(sf::RenderWindow* Window)
{
	mWindow = Window;

	mWindow->draw(background);

	mPlayer.draw(mWindow);
}